{% extends "base.html" %}
{% load i18n %}

{% block meta_title %}{% trans "Plays Status" %}{% endblock %}
{% block title %}{% trans "Plays Status" %}{% endblock %}

{% block breadcrumb_menu %}
<li class="active">{% trans "Plays Status" %}</li>
{% endblock %}

{% block main %}
{% if play_status %}

<table class="table table-striped order-history">
    <tr>
        {# <th class="left">ID</th> #}
        <th class="left">{% trans "SoundCloud URL" %}</th>
        <th>{% trans "Qty to play" %}</th>
        <th>{% trans "Qty played" %}</th>
        <th class="left">{% trans "Start Date" %}</th>
		<th class="left">{% trans "Last Update" %}</th>
    </tr>
    {% for play in play_status %}
    <tr>
        {# <td class="left">{{ play.id_play }}</td> #}
        <td class="left">{{ play.url }}</td>
        <td class="right">{{ play.to_play }}</td>
        <td class="right">{{ play.plays_count }}</td>
        <td>{{ play.data_entrada }}</td>
		<td>{{ play.update }}</td>
    </tr>
    {% endfor %}
</table>

{% else %}
<p>{% trans "You have not ordered anything from us yet." %}</p>
{% endif %}
{% endblock %}